package com.example.combwx.mvp.view.uesr;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.combwx.R;

public class SetUserActivity extends AppCompatActivity {
    private RelativeLayout settingRelative;
    private RelativeLayout settingRelative1;
    private RelativeLayout settingRelative2;
    private ImageView settingImg;
    private ImageView settingHeadimg;
    private RelativeLayout settingRelative3;
    private ImageView settingImg2;
    private RelativeLayout settingRelative4;
    private RelativeLayout settingRelative5;
    private ImageView settingImg3;
    private RelativeLayout settingRelative6;
    private RelativeLayout settingRelative7;
    private ImageView settingImg4;
    private RelativeLayout settingRelative8;
    private ImageView settingImg5;
    private RelativeLayout settingRelative9;
    private ImageView settingImg6;
    private RelativeLayout settingRelative10;
    private RelativeLayout settingRelative11;
    private RelativeLayout settingRelative12;
    private RelativeLayout settingRelative13;
    private RelativeLayout settingRelative14;
    private ImageView setback;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setuser);
        initView();
        setback.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
        settingRelative3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(SetUserActivity.this, QuitAcitvity.class);
                startActivity(intent);
            }
        });
    }

    private void initView() {
        settingRelative = (RelativeLayout) findViewById(R.id.setting_relative);
        settingRelative1 = (RelativeLayout) findViewById(R.id.setting_relative1);
        settingRelative2 = (RelativeLayout) findViewById(R.id.setting_relative2);
        settingImg = (ImageView) findViewById(R.id.setting_img);
        settingHeadimg = (ImageView) findViewById(R.id.setting_headimg);
        settingRelative3 = (RelativeLayout) findViewById(R.id.setting_relative3);
        settingImg2 = (ImageView) findViewById(R.id.setting_img2);
        settingRelative4 = (RelativeLayout) findViewById(R.id.setting_relative4);
        settingRelative5 = (RelativeLayout) findViewById(R.id.setting_relative5);
        settingImg3 = (ImageView) findViewById(R.id.setting_img3);
        settingRelative6 = (RelativeLayout) findViewById(R.id.setting_relative6);
        settingRelative7 = (RelativeLayout) findViewById(R.id.setting_relative7);
        settingImg4 = (ImageView) findViewById(R.id.setting_img4);
        settingRelative8 = (RelativeLayout) findViewById(R.id.setting_relative8);
        settingImg5 = (ImageView) findViewById(R.id.setting_img5);
        settingRelative9 = (RelativeLayout) findViewById(R.id.setting_relative9);
        settingImg6 = (ImageView) findViewById(R.id.setting_img6);
        settingRelative10 = (RelativeLayout) findViewById(R.id.setting_relative10);
        settingRelative11 = (RelativeLayout) findViewById(R.id.setting_relative11);
        settingRelative12 = (RelativeLayout) findViewById(R.id.setting_relative12);
        settingRelative13 = (RelativeLayout) findViewById(R.id.setting_relative13);
        settingRelative14 = (RelativeLayout) findViewById(R.id.setting_relative14);
        setback = (ImageView) findViewById(R.id.setback);
    }
}
